package com.jobpass.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jobpass.common.model.Employment;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JobPass
 * @since 2020-07-17
 */
public interface EmploymentService extends IService<Employment> {
    /**
     * 查询所有Employment
     * @return
     */
    List<Employment> FindAllEmployment ();

    /**
     * 根据ID查询Employment
     *
     */
    Employment FindEmploymentById(Long id);

    /**
     * 根据id删除Employment
     */
    int DeleteEmploymentById(Long id);

    /**
     * 根据id修改Employment Id 和 其他修改项
     */
    int UpdateEmploymentById(Employment employment);

    /**
     * 添加Employment
     */
    int SavaEmployment(Employment employment);
}
